package com.qf.feign;

import com.qf.pojo.Goods;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
//@Component
//@RequestMapping("/fallback")
public class MyFallback implements GoodsFeign {
    @Override
    public String sayHello() {
        return null;
    }

    @Override
    public String get(Integer id) {
        return null;
    }

    @Override
    public String get2(Integer id) {
        return null;
    }

    @Override
    public String add(Goods goods) {
        return "系统异常，请联系管理员";
    }
}
